﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Web_consultant.Models
{
    public class TestResult
    {
        public string NameTest { get; set; }
        public int IdTest { get; set; }
        public List<string> Answers { get; set; }
        public string Res { get; set; }
        public double Koeff { get; set; }
        public int Kod { get; set; }
        public int Kod2 { get; set; }
        public int Kod3 { get; set; }

        public TestResult()
        {
            IdTest = 0;
            Koeff = 0;
            Answers = new List<string>();
            Res = "";
        }

        public TestResult(int num, string name)
        {
            IdTest = 0;
            Koeff = 0;
            NameTest = name;
            Answers = new List<string>(num);
            Res = "";
            for (int i = 0; i < num; i++)
            {
                Answers.Add("");
            }
        }
    }
}